<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/3/29
  Time: 14:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        body{
            text-align: center;
        }
        div,form{
            margin: auto auto;
        }
    </style>
</head>
<body>
<div>
   <form action="/student" method="post">
       <h2>添加信息</h2><br>
       <input type="hidden" value="addInfo" name="action">
       姓名：<input type="text" name="name" ><br>
       年龄：<input type="text" name="age" ><br>
       性别：<input type="radio" name="sex" value="男">男
            <input type="radio" name="sex" value="女">女<br>
       住址：<input type="text" name="address" ><br>
       学校：<input type="text" name="school" ><br>
       <input type="submit" value="添加">
   </form>
</div>
</body>
</html>
